package com.xinke.module.system.model.vo.sms;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 短信渠道新增/修改 Request VO")
@Data
public class SmsChannelSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "16337")
    private Long channelId;

    @Schema(description = "短信签名", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "短信签名不能为空")
    private String smsSignature;

    @Schema(description = "渠道编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "渠道编码不能为空")
    private String channelCode;

    @Schema(description = "开启状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "开启状态不能为空")
    private Integer channelStatus;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "短信 API 的账号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "短信 API 的账号不能为空")
    private String apiKey;

    @Schema(description = "短信 API 的秘钥")
    private String apiSecret;

    @Schema(description = "短信发送回调 URL", example = "https://www.iocoder.cn")
    private String callbackUrl;

}